import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'normalize.css'// 导入重置样式
import '@/style/common.less'
import ui from '@/components/index.js'// 将等待组件注册成全局组件
import defineDirective from '@/directives/index'// 组测全局指令
// 创建一个vue应用实例
createApp(App).use(store).use(router).use(ui).use(defineDirective).mount('#app')
store.commit('user/setuser', '10001')// 测试数据是否保存到localstrong里面
